package com.hm.add1;

public class Test {
    public static void main(String[] args) {
        Cylinder cylinder = new Cylinder(2.5, 2, "蓝色");
        System.out.println(cylinder.area());
        cylinder.volume();
        cylinder.setColor("紫色");
    }
}
